package thread.processing;
import static java.lang.System.out;

public class Ping implements Runnable {
	
	int delay;
	public Ping(int d) { delay = d; }
	
	public void run() {
		try {
			for (int count = 1; count < 10; count++) {
				out.printf("%s%d\t","Ping",count);
				
				Thread.sleep(delay);												
			}
		} catch (InterruptedException e) {
			out.println(e);
		}
	}
}
